<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        .c1{
            border: 1px solid red;
            border-radius: 5px;
            height: 20px;
        }
    </style>
</head>
<body>
<div id="app">
    <el-row>
        <el-col :span="12"><div class="c1"></div></el-col>
        <el-col :span="12"><div class="c1"></div></el-col>
    </el-row>
    <el-row>
        <el-col :span="8"><div class="c1"></div></el-col>
        <el-col :span="8"><div class="c1"></div></el-col>
        <el-col :span="8"><div class="c1"></div></el-col>
    </el-row>
    <!--:gutter设置分栏间隔-->
    <el-row :gutter="20">
        <el-col :span="8"><div class="c1"></div></el-col>
        <el-col :span="8"><div class="c1"></div></el-col>
        <el-col :span="8"><div class="c1"></div></el-col>
    </el-row>
    <h1>1:3</h1>
    <el-row :gutter="20">
        <el-col :span="6"><div class="c1"></div></el-col>
        <el-col :span="18"><div class="c1"></div></el-col>
    </el-row>
    <h2>练习 :划分3部分 1:2:3 间隔为30</h2>
    <el-row :gutter="30" style="width: 1200px;margin: 0 auto">
        <el-col :span="4"><div class="c1"></div></el-col>
        <el-col :span="8"><div class="c1"></div></el-col>
        <el-col :span="12"><div class="c1"></div></el-col>
    </el-row>
</div>
</body>
<!--引入Vue框架-->
<script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
   let v = new Vue({
        el: '#app',
        data: function() {
            return {  }
        }
    })
</script>
</html>